package de.home.spring.factories;

import de.home.spring.beans.Person;

public class PersonFactory {
	
	public static Person createPersonWithStaticMethod() {
		return new Person("staticFactory", 3);
	}
	
	public Person createPersonWithInstanceMethod() {
		return new Person("instanceFactory", 4);
	}

}
